package daos;

import java.util.Date;

/**
 * Comment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	// Fields

	private Integer commentId;
	private User user;
	private Movie movie;
	private String content;
	private Date comTimeStamp;

	// Constructors

	/** default constructor */
	public Comment() {
	}

	/** full constructor */
	public Comment(User user, Movie movie, String content, Date comTimeStamp) {
		this.user = user;
		this.movie = movie;
		this.content = content;
		this.comTimeStamp = comTimeStamp;
	}

	// Property accessors

	public Integer getCommentId() {
		return this.commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Movie getMovie() {
		return this.movie;
	}

	public void setMovie(Movie movie) {
		this.movie = movie;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getComTimeStamp() {
		return this.comTimeStamp;
	}

	public void setComTimeStamp(Date comTimeStamp) {
		this.comTimeStamp = comTimeStamp;
	}

}